<script lang="ts" setup>
withDefaults(
  defineProps<{
    size?: number | string
    src?: string
    title?: string
  }>(),
  {
    size: 40,
    title: '在线客服智能质检分析管理系统',
    src: '/src/assets/logo.svg',
  },
)
</script>

<template>
  <div class="flex items-center">
    <n-image
      :height="size"
      :preview-disabled="true"
      :src="src"
      :width="size"
      alt=""
      hidden="until-found"
    />
    <span class="text-white text-[22px] font-normal pl-5">{{ title }}</span>
  </div>
</template>

<style scoped></style>
